{% extends "base.html" %}
{% load i18n plmapp_tags %}

<!-- Manage html display in the Content div which correspond to the "content" menu -->

{% block css %}
<style type="text/css">
iframe.content_uri{
padding-top : 1%;
padding-bottom : 1%;
min-height : inherit;
width: 100%;
}
</style>
{% endblock %}
{% block content %}
{% with obj.object.location_uri as uri %}
    {% if uri != "" and uri != " " %}
    <iframe src="{{uri}}" class="content_uri">
    </iframe>
    <noframes>
        <p>{% blocktrans %}
        You can not display this content on this page. Click
        <a href={{uri}} target="_blank">here</a>to see it.
        {% endblocktrans %}</p>
    </noframes>
    
    {% else %}
    <p>{% trans "There's no url specified for this URLDoc." %}</p>
    {% endif %}
{% endwith %}
{% endblock %}
